import request from '@/utils/request'

// 添加菜单按钮
export function addHomeMenu(formId) {
    return request({
        url: `/api/form/getFormComponent/${formId}`,
        method: 'get'
    })
}

// 查询菜单按钮
export function getAllHomeMenu(formId) {
    return request({
        url: `/api/form/getFormComponent/${formId}`,
        method: 'get'
    })
}


// 查询抖音粉丝数据
export function getDouyinData(date) {
    return request({
        url: `/send/getDouyinFollowersByDate`,
        method: 'get',
        params: { "date": date }
    })
}